








#import "NSString+LiuStringSize.h"

@implementation NSString (LiuStringSize)
- (CGSize) sizeWithMaxSize:(CGSize) maxSize andAtt:(NSDictionary *)att
{
    return [self boundingRectWithSize:maxSize options:NSStringDrawingUsesLineFragmentOrigin|NSStringDrawingUsesFontLeading attributes:att context:nil].size;
}
@end
